package com.imc.beans;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TbSourcelinkLogin entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "tb_sourcelink_login", catalog = "imcdbserver")
public class TbSourcelinkLogin implements java.io.Serializable {

	// Fields

	private Integer slId;
	private Integer linkId;
	private Integer uiId;
	private String slUsername;
	private String slPassword;

	// Constructors

	/** default constructor */
	public TbSourcelinkLogin() {
	}

	/** minimal constructor */
	public TbSourcelinkLogin(Integer linkId, Integer uiId) {
		this.linkId = linkId;
		this.uiId = uiId;
	}

	/** full constructor */
	public TbSourcelinkLogin(Integer linkId, Integer uiId, String slUsername,
			String slPassword) {
		this.linkId = linkId;
		this.uiId = uiId;
		this.slUsername = slUsername;
		this.slPassword = slPassword;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "sl_id", unique = true, nullable = false)
	public Integer getSlId() {
		return this.slId;
	}

	public void setSlId(Integer slId) {
		this.slId = slId;
	}

	@Column(name = "link_id", nullable = false)
	public Integer getLinkId() {
		return this.linkId;
	}

	public void setLinkId(Integer linkId) {
		this.linkId = linkId;
	}

	@Column(name = "ui_id", nullable = false)
	public Integer getUiId() {
		return this.uiId;
	}

	public void setUiId(Integer uiId) {
		this.uiId = uiId;
	}

	@Column(name = "sl_username", length = 50)
	public String getSlUsername() {
		return this.slUsername;
	}

	public void setSlUsername(String slUsername) {
		this.slUsername = slUsername;
	}

	@Column(name = "sl_password", length = 50)
	public String getSlPassword() {
		return this.slPassword;
	}

	public void setSlPassword(String slPassword) {
		this.slPassword = slPassword;
	}

}